

set ThisBatFileRoot=%~dp0
md "%ThisBatFileRoot%\TextFiles"

	for /f %%p in ('dir "%ThisBatFileRoot%*" /b') do (
		echo "This is a text file." >> "%ThisBatFileRoot%\TextFiles\%%p"
	)